GXPD 18 - Saving Paper Type Information
Title Banner


Technical Q&A's


GXPD 18 - Saving Paper Type Information (1-May-95)


Q I need to be able to save unique paper type information in the Resource fork, which is contained in a collection. How can I access DTP from ModalDialog?

A Send_GXxxx calls must be made from overrides, so what your application (or filterproc) can do is override gxJobIdle, do the Send_GXxxx call there, and then, when in its non-override code, call GXJobIdle(currentJob) to invoke the override. Make sure you install and remove the override right where you need it, so that odd things don't happen at other times. Also note that you need the current job reference, and you have to pass that to your filter proc.

If you're using GXAlertTheUser to handle your dialog, you can override GXHandleAlertEvent and send your messages without this workaround. In either case, your goal is to get the collection item, flatten, and then save it to the DTP with GXWriteDTPData.

Technical Support
Technical Q&As
Previous Question | Contents | Next Question

Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help